package com.levy.contronller.javase.designModel.abstractFactory.factory;

import com.levy.contronller.javase.designModel.abstractFactory.computer.Computer;
import com.levy.contronller.javase.designModel.abstractFactory.computer.MacComputer;
import com.levy.contronller.javase.designModel.abstractFactory.phone.IPhone;
import com.levy.contronller.javase.designModel.abstractFactory.phone.MobilePhone;

public class AppleFactory implements AbstractFactory {
    @Override
    public Computer makeComputer() {
        return new MacComputer();
    }

    @Override
    public MobilePhone makeMobilePhoto() {
        return new IPhone();
    }
}
